package com.ash.dao;

import com.ash.pojo.Blog;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author : Chen Chao
 * @encoding : UTF-8
 * @date : 2021/3/8 19:51
 * @file : Project02.com.ash.dao.BlogMapper.java
 * @software : IntelliJ IDEA
 * @since : 1.8
 */
public interface BlogMapper {
    void addBlog(Blog blog);
    List<Blog> queryBlogIf(Map<String,String> map);
    List<Blog> queryBlogIf2(Blog blog);
    List<Blog> queryBlogTrim(Blog blog);
    List<Blog> queryBlogForeach(Set<String> ids);
    List<Blog> queryBlogForeach2(Set<Map.Entry<String, String>> collection);
    void updateLog(Blog blog);
    void updateLogTrim(Blog blog);
    Blog queryBlogById(int id);


}
